package io.renren.modules.cgs.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.cgs.dao.CgsReconsiderDao;
import io.renren.modules.cgs.entity.CgsReconsiderEntity;
import io.renren.modules.cgs.service.CgsReconsiderService;



@Service("cgsReconsiderService")
public class CgsReconsiderServiceImpl implements CgsReconsiderService {
	@Autowired
	private CgsReconsiderDao cgsReconsiderDao;
	
	@Override
	public CgsReconsiderEntity queryObject(String id){
		return cgsReconsiderDao.queryObject(id);
	}
	
	@Override
	public List<CgsReconsiderEntity> queryList(Map<String, Object> map){
		return cgsReconsiderDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cgsReconsiderDao.queryTotal(map);
	}
	
	@Override
	public void save(CgsReconsiderEntity cgsReconsider){
		cgsReconsiderDao.save(cgsReconsider);
	}
	
	@Override
	public void update(CgsReconsiderEntity cgsReconsider){
		cgsReconsiderDao.update(cgsReconsider);
	}
	
	@Override
	public void delete(String id){
		cgsReconsiderDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		cgsReconsiderDao.deleteBatch(ids);
	}
	
}
